import request from "@/utils/request";

/**
 * 获取api配置信息
 * @param params
 * @returns
 */
 function getApi(data) {
  return request({
    url: '/management/config.config_api/getList',
    method: 'post',
    data
  })
}
/**
 * 添加api配置信息
 * @param params
 * @returns
 */
function getaddApi(data) {
  return request({
    url: '/management/config.config_api/add',
    method: 'post',
    data
  })
}
/**
 * 删除api配置信息
 * @param params
 * @returns
 */
function getaddDel(data) {
  return request({
    url: '/management/config.config_api/del',
    method: 'post',
    data
  })
}
/**
 * 查询一条api配置信息
 * @param params
 * @returns
 */
function getFind(data) {
  return request({
    url: '/management/config.config_api/getFind',
    method: 'post',
    data
  })
}
/**
 * 修改api配置信息
 * @param params
 * @returns
 */
function getUpdate(data) {
  return request({
    url: '/management/config.config_api/update',
    method: 'post',
    data
  })
}
export{
    getApi,
    getaddApi,
    getaddDel,
    getFind,
    getUpdate
}
